home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / Interfaces&Libraries / Universal / Interfaces / PInterfaces / QD3DAcceleration.p < prev    next >
Encoding:
Text File  |  1998-08-17  |  2.3 KB  |  92 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        QD3DAcceleration.p
  3.  
  4.      Contains:    Header file for low-level 3D driver API                            
  5.  
  6.      Version:    Technology:    Quickdraw 3D 1.5.4
  7.                  Release:    Universal Interfaces 3.2
  8.  
  9.      Copyright:    © 1995-1998 by Apple Computer, Inc., all rights reserved.
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. }
  17. {$IFC UNDEFINED UsingIncludes}
  18. {$SETC UsingIncludes := 0}
  19. {$ENDC}
  20.  
  21. {$IFC NOT UsingIncludes}
  22.  UNIT QD3DAcceleration;
  23.  INTERFACE
  24. {$ENDC}
  25.  
  26. {$IFC UNDEFINED __QD3DACCELERATION__}
  27. {$SETC __QD3DACCELERATION__ := 1}
  28.  
  29. {$I+}
  30. {$SETC QD3DAccelerationIncludes := UsingIncludes}
  31. {$SETC UsingIncludes := 1}
  32.  
  33. {$IFC UNDEFINED __QD3D__}
  34. {$I QD3D.p}
  35. {$ENDC}
  36.  
  37.  
  38. {$PUSH}
  39. {$ALIGN POWER}
  40. {$LibExport+}
  41.  
  42. {*****************************************************************************
  43.  **                                                                             **
  44.  **                         Vendor ID definitions                             **
  45.  **                                                                             **
  46.  ****************************************************************************}
  47. {
  48.  * If kQAVendor_BestChoice is used, the system chooses the "best" drawing engine
  49.  * available for the target device. This should be used for the default.
  50.  }
  51.  
  52. CONST
  53.     kQAVendor_BestChoice        = -1;
  54.  
  55. {
  56.  * The other definitions (kQAVendor_Apple, etc.) identify specific vendors
  57.  * of drawing engines. When a vendor ID is used in conjunction with a
  58.  * vendor-defined engine ID, a specific drawing engine can be selected.
  59.  }
  60.     kQAVendor_Apple                = 0;
  61.     kQAVendor_ATI                = 1;
  62.     kQAVendor_Radius            = 2;
  63.     kQAVendor_Mentor            = 3;
  64.     kQAVendor_Matrox            = 4;
  65.     kQAVendor_Yarc                = 5;
  66.     kQAVendor_DiamondMM            = 6;
  67.     kQAVendor_3DLabs            = 7;
  68.     kQAVendor_D3DAdaptor        = 8;
  69.     kQAVendor_IXMicro            = 9;
  70.  
  71. {*****************************************************************************
  72.  **                                                                             **
  73.  **                         Apple's engine ID definitions                         **
  74.  **                                                                             **
  75.  ****************************************************************************}
  76.     kQAEngine_AppleSW            = 0;                            {  Default software rasterizer }
  77.     kQAEngine_AppleHW            = -1;                            {  Apple accelerator }
  78.     kQAEngine_AppleHW2            = 1;                            {  Another Apple accelerator }
  79.     kQAEngine_AppleHW3            = 2;                            {  Another Apple accelerator }
  80.  
  81.  
  82. {$ALIGN RESET}
  83. {$POP}
  84.  
  85. {$SETC UsingIncludes := QD3DAccelerationIncludes}
  86.  
  87. {$ENDC} {__QD3DACCELERATION__}
  88.  
  89. {$IFC NOT UsingIncludes}
  90.  END.
  91. {$ENDC}
  92.